package com.github.catvod.spider.merge;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import javax.annotation.Nullable;

abstract class v6 extends ms {
  int V0 = 0;
  
  final ArrayList<ms> h = new ArrayList<ms>();
  
  v6() {}
  
  v6(Collection<ms> paramCollection) {
    this();
    this.h.addAll(paramCollection);
    q();
  }
  
  void V0(ms paramms) {
    this.h.set(this.V0 - 1, paramms);
  }
  
  @Nullable
  ms j() {
    ms ms1;
    int i = this.V0;
    if (i > 0) {
      ms1 = this.h.get(i - 1);
    } else {
      ms1 = null;
    } 
    return ms1;
  }
  
  void q() {
    this.V0 = this.h.size();
  }
  
  static final class Tw extends v6 {
    Tw(Collection<ms> param1Collection) {
      super(param1Collection);
    }
    
    Tw(ms... param1VarArgs) {
      this(Arrays.asList(param1VarArgs));
    }
    
    public boolean h(Lm param1Lm1, Lm param1Lm2) {
      for (int i = this.V0 - 1; i >= 0; i--) {
        if (!((ms)this.h.get(i)).h(param1Lm1, param1Lm2))
          return false; 
      } 
      return true;
    }
    
    public String toString() {
      return ZG.Qy(this.h, "");
    }
  }
  
  static final class yh extends v6 {
    yh() {}
    
    yh(Collection<ms> param1Collection) {
      if (this.V0 > 1) {
        this.h.add(new v6.Tw(param1Collection));
      } else {
        this.h.addAll(param1Collection);
      } 
      q();
    }
    
    yh(ms... param1VarArgs) {
      this(Arrays.asList(param1VarArgs));
    }
    
    public void I(ms param1ms) {
      this.h.add(param1ms);
      q();
    }
    
    public boolean h(Lm param1Lm1, Lm param1Lm2) {
      for (byte b = 0; b < this.V0; b++) {
        if (((ms)this.h.get(b)).h(param1Lm1, param1Lm2))
          return true; 
      } 
      return false;
    }
    
    public String toString() {
      return ZG.Qy(this.h, ", ");
    }
  }
}


/* Location:              /Users/hetaiyi/Desktop/my/tech/java/study/aa/temp/temp.jar!/com/github/catvod/spider/merge/v6.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       1.1.3
 */